.novel-select-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    display: none;
}

.novel-select-popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    z-index: 1001;
    width: 80%;
    max-width: 800px;
    max-height: 85vh;
    overflow-y: auto;
}

.novel-select-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.header-content h3 {
    margin: 0;
    font-size: 24px;
    color: #333;
}

.header-content .subtitle {
    margin: 8px 0 0;
    color: #666;
    font-size: 16px;
}

.novel-select-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    padding: 5px;
    color: #666;
    transition: color 0.3s;
}

.novel-select-close:hover {
    color: #333;
}

.section-title {
    margin: 0 0 15px 0;
    font-size: 18px;
    color: #444;
}

.novel-list-section {
    margin-bottom: 30px;
    max-height: 400px;
    overflow-y: auto;
    padding-right: 5px;
}

/* Add custom scrollbar styles for better appearance */
.novel-list-section::-webkit-scrollbar {
    width: 8px;
}

.novel-list-section::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.novel-list-section::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 4px;
}

.novel-list-section::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

.novel-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    padding-right: 5px;  /* Add some padding to prevent content from touching scrollbar */
}

.novel-item {
    border: 1px solid #e0e0e0;
    padding: 20px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    background-color: #f8f9fa;
}

.novel-item:hover {
    background-color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.novel-item h4 {
    margin: 0 0 12px 0;
    color: #333;
    font-size: 18px;
}

.novel-item p {
    margin: 0;
    color: #666;
    font-size: 14px;
    line-height: 1.5;
}

.file-import-section {
    padding: 25px;
    background-color: #f8f9fa;
    border-radius: 8px;
    text-align: center;
}

.import-btn {
    padding: 12px 24px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.import-btn:hover {
    background-color: #45a049;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.progress-msg {
    margin-top: 15px;
    color: #666;
    font-size: 14px;
} 